

export default [
    {
        path: '/trace',
        component: () => import('../../pages/workTrace/Main.vue'),
        meta: {
            title: '工作追踪'
        },
        children: [
            {
                path: 'home',
                name: 'trace-home',
                component: () => import('../../pages/workTrace/todo.vue'),
                meta: {
                    title: '待审批流程',
                    isTab:true
                }
            },
            {
                path: 'traceWork',
                name: 'trace-work',
                component: () => import('../../pages/workTrace/traceWork.vue'),
                meta: {
                    title: '工作追踪',
                    isTab:true
                }
            },
            {
                path: 'event',
                name: 'project-event',
                component: () => import('../../pages/workTrace/projectEvent.vue'),
                meta: {
                    title: '项目事件',
                    isTab:true
                }
            },
            {
                path: 'summary',
                name: 'trace-summary',
                component: () => import('../../pages/workTrace/summary.vue'),
                meta: {
                    title: '经营会议纪要',
                    isTab:true
                }
            },
            {
                path: 'haveDone',
                name: 'trace-have-done',
                component: () => import('../../pages/workTrace/haveDone.vue'),
                meta: {
                    title: '已审批流程',
                    isTab:true
                }
            },
            {
                path: 'workDone',
                name: 'work-done',
                component: () => import('../../pages/workTrace/workDone.vue'),
                meta: {
                    title: '已完成工作',
                    isTab:true
                }
            },
            {
                path: 'statistics',
                name: 'trace-statistics',
                component: () => import('../../pages/workTrace/rank.vue'),
                meta: {
                    title: '工作排名',
                    isTab:true
                }
            },
            {
                path: 'mycontract',
                name: 'trace-mycontract',
                component: () => import('../../pages/workTrace/mycontract.vue'),
                meta: {
                    title: '我的合同',
                    isTab:true
                }
            },
            {
                path: 'draft',
                name: 'trace-draft',
                component: () => import('../../pages/workTrace/draft.vue'),
                meta: {
                    title: '草稿',
                    isTab:true
                }
            }
        ]
    },
    {
        path: '/trace',
        component: () => import('../../pages/workTrace/noTabMain.vue'),
        meta: {
            title: '工作追踪'
        },
        children: [
            {
                path: 'summaryInfo',
                name: 'trace-summary-info',
                component: () => import('../../pages/workTrace/summaryInfo.vue'),
                meta: {
                    title: '会议纪要'
                }
            }
        ]
    }
]
